//
//  SubmitFooter.m
//  体育商城
//
//  Created by  on 2022/9/24.
//

#import "SubmitFooter.h"
@interface SubmitFooter()<UITextViewDelegate>
@end
@implementation SubmitFooter

#pragma mark - UITextViewDelegate
- (BOOL)textViewShouldBeginEditing:(UITextView *)textView{
    self.placeholder.hidden = YES;
    return YES;
}
- (BOOL)textViewShouldEndEditing:(UITextView *)textView{
    self.placeholder.hidden = textView.text.length > 0;
    return YES;
}
@end
